package com.jinzhi.jzweb.service.impl;

import com.jinzhi.common.base.CoreServiceImpl;
import com.jinzhi.jzweb.dao.ExaminationRoomDao;
import com.jinzhi.jzweb.domain.ExaminationRoomDO;
import com.jinzhi.jzweb.service.ExaminationRoomService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 
 * <pre>
 * 考场
 * </pre>
 * <small> 2020-02-24 21:00:12 | lance</small>
 */
@Service
public class ExaminationRoomServiceImpl extends CoreServiceImpl<ExaminationRoomDao, ExaminationRoomDO> implements ExaminationRoomService {

    @Override
    public List<Map<Object,Object>> selByNameId(){
        return baseMapper.selByNameId();
    }

    @Override
    public List<ExaminationRoomDO> selByLikeEntity(Map map){
        return baseMapper.selByLikeEntity(map);
    }

    @Override
    public int selNoReviewAll(){
        return this.baseMapper.selNoReviewAll();
    }

    @Override
    public int selNoReview(Long orgId){
        return this.baseMapper.selNoReview(orgId);
    }

    @Override
    public int selTypeCount(Map map){
        return this.baseMapper.selTypeCount(map);
    }
}
